<extend name="Public/base"/>
<block name="body">
    <script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
    <div class="main-title">
        <h2>{$meta_title}</h2>
    </div>

    <form action="" method="post" class="form-horizontal">
        <!--  课程名称  -->
        <div class="form-item">
            <label class="item-label">课程名称</label>
            <div class="controls">
                <input type="text" class="text input-large" name="name" value="{$info.name}" readonly>
            </div>
        </div>

        <!--  封面图  -->
        <div class="form-item">
            <label class="item-label">封面图</label>
            <div class="controls">
                <img src="{$info.img|getPicture}" width="200px" max-height="200px">
            </div>
        </div>

        <!--  单价  -->
        <div class="form-item">
            <label class="item-label">单价</label>
            <div class="controls">
                <input type="text" class="text input-large" name="price" value="{$info.price}" readonly>
            </div>
        </div>

        <!--  开播时间  -->
        <div class="form-item">
            <label class="item-label">开播时间</label>
            <div class="controls">
                <input type="text" class="text input-large" name="live_time_date" value="{$info.live_time_date}" readonly>
            </div>
        </div>

        <!--  开播时间段  -->
        <div class="form-item">
            <label class="item-label">开播时间段</label>
            <div class="controls">
                <input type="text" class="text input-large" name="live_time_slot" value="{$info.live_time_slot}" readonly>
            </div>
        </div>

        <!--  实际开播时长  -->
        <div class="form-item">
            <label class="item-label">实际开播时长</label>
            <div class="controls">
                <input type="text" class="text input-large" name="real_live_duration" value="{$info.real_live_duration}" readonly>
            </div>
        </div>

        <!--  报名人数  -->
        <div class="form-item">
            <label class="item-label">报名人数</label>
            <div class="controls">
                <input type="text" class="text input-large" name="enlist_count" value="{$info.enlist_count}" readonly>
            </div>
        </div>

        <!--  审核状态  -->
        <div class="form-item">
            <label class="item-label">审核状态</label>
            <div class="controls">
                <label><input type="radio" name="audit_status" value="0" <if condition="$info['audit_status'] == 0">checked</if>>待审核</label>
                <label><input type="radio" name="audit_status" value="1" <if condition="$info['audit_status'] == 1">checked</if>>审核成功</label>
                <label><input type="radio" name="audit_status" value="2" <if condition="$info['audit_status'] == 2">checked</if>>审核失败</label>
            </div>
        </div>

        <input type="hidden" value="{:I('id')}" name="id" />
        <div class="form-item">
            <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
        </div>
    </form>
</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U("Manage/subjectList")}');
    </script>
</block>
</html>